package jnpf.engine.model;

import jnpf.base.UserInfo;
import jnpf.database.model.entity.DbLinkEntity;
import jnpf.model.visiual.TableModel;
import jnpf.model.visiual.fields.FieLdsModel;
import jnpf.permission.entity.UserEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
import java.util.Map;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DataModel {
    private Map<String, Object> dataNewMap;
    private List<FieLdsModel> fieLdsModelList;
    private List<TableModel> tableModelList;
    private String mainId;
    private DbLinkEntity link;
    private Boolean convert;
    private Boolean isOracle;
    private UserEntity userEntity;
    //是否开启安全锁
    private Boolean concurrencyLock = false;
    private Integer primaryKeyPolicy = 1;
    private UserInfo userInfo;
}
